package com.dao;

import android.widget.Toast;

import com.activity.MainActivity;
import com.common.Utils;
import com.enums.JokeName;

public class Joke2 extends Joke {

	public Joke2() {
		super();
		joke_name = JokeName.JOKE2;
		tasks.add(new Task(3) { // task1
					@Override
					protected void Start() {
						Joke2Task1();
					}
				});
		tasks.add(new Task(1) { // task2
					@Override
					protected void Start() {
						Joke2Task2();
					}
				});
		tasks.add(new Task(2) { // task3
					@Override
					protected void Start() {
						Joke2Task3();
					}
				});
		itrerator = tasks.iterator();

	}
	private void Joke2Task1(){
		Toast.makeText(MainActivity.getmContext() , "2.1" ,	Toast.LENGTH_SHORT).show();
	} 
	private void Joke2Task2(){
		Toast.makeText(MainActivity.getmContext() , "2.2" ,	Toast.LENGTH_SHORT).show();
	} 
	private void Joke2Task3(){
		Toast.makeText(MainActivity.getmContext() , "2.3" ,	Toast.LENGTH_SHORT	).show();
	} 

}
